package com.xiao.mall.foundation.service;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.Expression;
import javax.persistence.criteria.Root;
import java.util.List;

/**
 * @author zhoushaofeng
 */
public interface GroupSpecification<E> {
    List<Expression<?>> build(Root<E> root, CriteriaBuilder criteriaBuilder);
}
